import java.util.Scanner;

public class h_47 {
    public static void main(String[] args) {
      int n;
      Scanner in = new Scanner(System.in);
            for(int i = 0; i < 7; i++) {
                System.out.println("请输入一个1-50之间的数字");
                n = in.nextInt();
                if (n < 0 || n > 50) {
                    System.out.println("输入有误,请重试");
                } else {
                    for (int j = 0; j < n; j++) {
                        System.out.print("*");
                    }
                    System.out.println();
                }
            }
    }
}
